home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.4 KB | 57 lines | [TEXT/MPS ] |
- /*
- File: GXMath.idl
-
- Contains: QuickDraw GX math routine interfaces.
-
- Version: Technology: Quickdraw GX 1.1
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __GXMATH_IDL__
- #define __GXMATH_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __CONDITIONALMACROS_IDL__
- #include <ConditionalMacros.idl>
- #endif
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __FIXMATH_IDL__
- #include <FixMath.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- typedef SOMLargeStruct gxPoint; /* Derived from a struct of 8 bytes in size */
-
- typedef unsigned short gxColorValue;
-
- typedef SOMLargeStruct gxPolar; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMLargeStruct gxMapping; /* Derived from a struct of 36 bytes in size */
-
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- /* This next call is (source * multiplier / divisor) -- it avoids underflow, overflow by using wides */
- /* wide operations are defined within FixMath.h only for PowerPC */
- #if !GENERATINGPOWERPC
- /* returns the quotient */
- /* quotient replaces dividend */
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __GXMATH_IDL__ */
-
-